/* reset start*/
body, p, ul, input {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

input {
    outline: none;
    border: none;
}

body {
    font-size: 12px;
    font-family: "Arial","微软雅黑"","SimHei","SimSun",sans-serif;
}
/*reset end*/

/*public start*/
/*箭头向下*/
.arrow-down {
	width: 0;
	height: 0;
	position: relative;
	top: 16px;
    margin-left: 4px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #acafb4;
}
/*public end*/

/* nav start */
nav {
    width: 100%;
    height: 46px;
    min-width: 1100px; /* 解决客户端窗口的缩放情境：视窗宽度小于你的导航栏宽度就会导致丢失底色*/
    background-color: #303643;
    border-bottom: 1px solid #b6b4b6;
}

.container {
    position: relative;
    width: 1000px;
    margin: 0 auto;
}

nav a.logo {
    position: absolute;
    top: 9px;
    left: 0;
    display: block;
    width: 95px;
    height: 28px;
    background-image: url(http://git.oschina.net/logo.svg?201702241900);
}

nav ul {
    position: absolute;
    top: 0;
    left: 95px;
    height: 46px;
}

nav ul li {
    float: left;
    margin-left: 20px;
}

nav ul li a {
    position: relative;
    display: block;
    height: 16px;
    padding: 11px 6px 19px 7px;
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
    font-weight: 500;
}

nav ul li a:hover {
    color: white;
    background-color: #40485b;
}

nav ul li:last-of-type a:hover {
    background-color: #303643;
}

nav ul li a:hover i.arrow-down {
	border-top-color: #fff;
}

nav ul li a b {
    position: absolute;
    top: 6px;
    width: 24px;
    padding: 0 4px;
    margin-left: 4px;
    font-size: 12px;
    font-weight: normal;
    color: white;
    background-color: #C71D24;
    border-radius: 2px;
}

.down_item {
    position: absolute;
    top: 46px;
    display: none;
    width: 208px;
    padding: 13px 0;
    background-color: #40485b;
}

.down_item p a {
    width: 190px;
    height: 28px;
    padding: 6px 0 6px 18px;
    font-size: 12px;
    line-height: 28px;
    color: white;
    border-bottom: 1px solid #364056;
}

.down_item p a:hover {
    background-color: #303643;
}

nav .search {
    position: absolute;
    top: 10px;
    left: 645px;
    width: 232px;
    height: 24px;
    border: 1px solid #8c92a4;
    border-radius: 20px;
}

nav .search input {
    position: absolute;
    top: 0;
    left: 26px;
    width: 160px;
    height: 24px;
    line-height: 24px;
    font-size: 15px;
    color: #92959c;
    background-color: #303643;
}
nav .search .search_icon{
	position: absolute;
	top: 4px;
	left: 200px;
	display: block;
	width: 16px;
	height: 16px;
    background: url(../img/search.gif) no-repeat;
}

nav .bell {
    position: absolute;
    top: 12px;
    left: 898px;
    width: 16px;
    height: 21px;
    background-image: url(../img/bell.gif);
}

nav .bell:hover {
    background-image: url(../img/bell1.gif);
}

nav .add {
    position: absolute;
    top: 1px;
    left: 924px;
    width: 20px;
    height: 20px;
    padding: 13px 6px;
    background: url(../img/add.gif) no-repeat 6px 11px;
    cursor: pointer;
}

nav .add:hover {
    background: url(../img/add1.gif) no-repeat 6px 11px #40485b;
}

.add_down_item {
    width: 128px;
    margin-left: -6px;
    margin-top: -1px;
    overflow: hidden;
}

.add_down_item p a {
    width: 110px;
    padding-right: 60px;
    border-bottom: none;
    white-space: nowrap;
}

.user_down_item {
    width: 112px;
    margin-left: -72px;
    overflow: hidden;
}

.user_down_item p a {
    width: 94px;
    padding-right: 70px;
    border-bottom: none;
    white-space: nowrap;
}

nav .user {
    position: absolute;
    top: -2px;
    left: 959px;
    width: 36px;
    height: 20px;
    padding: 13px 3px 13px 6px;
    background: url(../img/user.gif) no-repeat 6px 11px;
    cursor: pointer;
}

nav .user:hover {
    background: url(../img/user1.gif) no-repeat 6px 11px #40485b;
}

nav .user .arrow-down {
	top: 14px;
    margin-left: 28px;
	border-left-width: 4px;
	border-right-width: 4px;
	border-top-width: 4px;
}
nav .user:hover i.arrow-down {
	border-top-color: #fff;
}
/* nava end */